<%@ page language="java" pageEncoding="UTF-8" %>
<%@ include file="../../base.jsp" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
</head>

<body>
<form name="icform" method="post">

    <div id="menubar">
        <div id="middleMenubar">
            <div id="innerMenubar">
                <div id="navMenubar">
                    <ul>
                        <li id="save"><a href="#"
                                         onclick="formSubmit('moduleAction_insert','_self');this.blur();">保存</a></li>
                        <li id="back"><a href="#" onclick="history.go(-1);">返回</a></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>

    <div class="textbox" id="centerTextbox">
        <div class="textbox-header">
            <div class="textbox-inner-header">
                <div class="textbox-title">
                    新增模块
                </div>
            </div>
        </div>


        <div>
            <table class="commonTable" cellspacing="1">
                <tr>
                    <td class="columnTitle">父级：</td>
                    <td class="tableContent" colspan="3">
                        <select name="idName">
                            <option value="">--请选择--</option>
                            <c:forEach items="${ms}" var="m">
                                <option value="${m.moduleId}:${m.name}">${m.parentName}</option>
                            </c:forEach>
                        </select>
                    </td>

                </tr>
                <tr>
                    <td class="columnTitle">模块名：</td>
                    <td class="tableContent"><input type="text" name="name" value=""/></td>
                    <td class="columnTitle">层数：</td>
                    <td class="tableContent"><input type="text" name="layerNum" value=""/></td>
                </tr>
                <tr>
                    <td class="columnTitle">权限标识：</td>
                    <td class="tableContent"><input type="text" name="cpermission" value=""/></td>
                    <td class="columnTitle">链接：</td>
                    <td class="tableContent"><input type="text" name="curl" value=""/></td>
                </tr>
                <tr>
                    <td class="columnTitle">类型：</td>
                    <td class="tableContentAuto">
                        <input type="radio" name="ctype" value="0" class="input"/>主菜单
                        <input type="radio" name="ctype" value="1" class="input"/>左侧菜单
                        <input type="radio" name="ctype" value="2" class="input"/>按钮
                        <input type="radio" name="ctype" value="3" class="input"/>链接
                        <input type="radio" name="ctype" value="4" class="input"/>状态
                    </td>
                    <td class="columnTitle">状态：</td>
                    <td class="tableContentAuto">
                        <input type="radio" name="state" value="1" checked class="input"/>启用
                        <input type="radio" name="state" value="0" class="input"/>停用
                    </td>
                </tr>
                <tr>
                    <td class="columnTitle">从属：</td>
                    <td class="tableContent"><input type="text" name="belong" value=""/></td>
                    <td class="columnTitle">复用标识：</td>
                    <td class="tableContent"><input type="text" name="cwhich" value=""/></td>
                </tr>
                <tr>
                    <td class="columnTitle">说明：</td>
                    <td class="tableContent">
                        <textarea name="remark" style="height:120px;"></textarea>
                    </td>
                    <td class="columnTitle">排序号：</td>
                    <td class="tableContent"><input type="text" name="orderNo" value=""/></td>
                </tr>
            </table>
        </div>

    </div>
</form>
</body>
</html>

